/*
 * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.xiaominfo.com.
 * Developer Web Site: http://open.xiaominfo.com.
 */

package com.lishiots.cloud.datacenter.middleware.common;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/***
 *
 * @since:datacenter-parent 1.0
 * @author <a href="mailto:xiaoymin@foxmail.com">xiaoymin@foxmail.com</a> 
 * 2018/08/14 13:54
 */
public class RequestPage implements Serializable {

    @ApiModelProperty(value = "当前页数")
    private Integer currentPage=1;

    @ApiModelProperty(value = "每页数量")
    private Integer pageSize=10;

    public RequestPage(Integer currentPage, Integer pageSize){
        this.currentPage = currentPage ;
        this.pageSize = pageSize;
    }

    public RequestPage(){

    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }


}
